// services/notificationService.js
import { createEventBus } from '@/composables/eventBus'

const { emit } = createEventBus()

export function showNotification(message, type) {
  emit('show-notification', { message, type})
}